//==============================================================================
// Velite_anim.txt
//==============================================================================

//==============================================================================

define hammer
{
   set hotspot
   {
      version
      {
         Visual Tool Hammer
      }
   }
}

//==============================================================================
define shield
{
		set hotspot
		{
			version
			{
				Visual Roman ShieldD
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Velite Shield
			}
		}
		set hotspot
		{
			version
			{
				Visual Roman Cavalry Shield
				ReplaceTexture Infantry X Trident Soldier Shield Iron/Auxiliary Shield
			}
		}
}

//==============================================================================
define javelin
{
   SetSelector
   {
		set hotspot
		{
			version
			{
				Visual Attachments A Javelin
			    replaceTexture Attachments A Spear Standard/Attachments A Spear Iron
			}
		}
	}
}

//==============================================================================
define Head
{

      set hotspot
      {
         version
         {
            Visual Infantry N Ulfsark Head Standard
         }
      }
      set hotspot
      {
         version
         {
            Visual Roman HeadA
		ReplaceTexture Infantry G Hoplite Head Iron/Auxiliary Head
         }
      }
}

//==============================================================================
define soulaurora
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Aurora
      }
   }
}

//==============================================================================
define soulauroraborn
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul AuroraBorn
      }
   }
}

//==============================================================================
define heavenlight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Heaven Light
      }
   }
}

//==============================================================================
define soul
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul
      }
   }
}

//==============================================================================
define soulbirth
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Birth
      }
   }
}

//==============================================================================
define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}



//==============================================================================
anim Idle
{
	SetSelector
	{
		ContainLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual SpearThrower_Idle
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Hero C Immortal_CarryIdlea
					ReplaceTexture hero c immortal/Velite Armor
					length 2.0
					Connect FRONTABDOMEN heroglow hotspot
					Connect TOPOFHEAD head hotspot
					connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				}
			}
		}
	}
}


//==============================================================================
anim Bored
{
	SetSelector
	{
		ContainLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual SpearThrower_Bored
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Hero C Immortal_CarryBoredA
					ReplaceTexture hero c immortal/Velite Armor
					Connect FRONTABDOMEN heroglow hotspot
					Connect TOPOFHEAD head hotspot
					connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		ContainLogic
		SetSelector
		{
			set hotspot
			{
				version
				{
				Visual SpearThrower_Walk
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.40 true   
				tag FootstepRight 0.90 true   
//-- end auto generated section
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Hero C Immortal_CarryA
					ReplaceTexture hero c immortal/Velite Armor
//-- auto generated by the bang animation tool
//-- do not hand edit these values
					tag FootstepLeft 0.30 true	
					tag FootstepRight 0.80 true	
//-- end auto generated section
					Connect FRONTABDOMEN heroglow hotspot
					Connect TOPOFHEAD head hotspot
					connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				}
			}
		}
	}
}


//==============================================================================
anim RangedAttack
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual SpearThrower_Attack
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true   
				tag GenericSound 0.40 true   
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				Connect FRONTABDOMEN heroglow hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual SpearThrower_Attack
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.40 true   
				tag GenericSound 0.40 true   
				tag SpecificSoundSet 0.50 false Arrow checkVisible 
//-- end auto generated section
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				Connect FRONTABDOMEN heroglow hotspot
         }
      }
   }
}


//==============================================================================
anim Death
{
   SetSelector
   {

      set hotspot
      {
         version
         {
				Visual SpearThrower_Death
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.00 false AHeroHasFallen  checkOwner
//-- end auto generated section
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				connect ATTACHPOINT soul hotspot
				connect ATTACHPOINT soulaurora hotspot
				connect ATTACHPOINT heavenlight hotspot
				connect ATTACHPOINT soulbirth hotspot
         }
      }
      set hotspot
      {
         version
         {
				Visual SpearThrower_Death
//-- auto generated by the bang animation tool
//-- do not hand edit these values
            tag SpecificSoundSet 0.00 false AHeroHasFallen  checkOwner
//-- end auto generated section
				connect Righthand Javelin Hotspot
				connect leftforearm Shield hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
				connect ATTACHPOINT soul hotspot
				connect ATTACHPOINT soulaurora hotspot
				connect ATTACHPOINT heavenlight hotspot
				connect ATTACHPOINT soulbirth hotspot
         }
      }
   }
}



//==============================================================================
anim Flail
{
   SetSelector
   {

      set hotspot
      {
         version
         {
				Visual SpearThrower_Flail
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.10 true   
				tag FootstepRight 0.35 true   
//-- end auto generated section
				connect leftforearm Shield hotspot
				connect Righthand Javelin Hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
         }
      }
      set hotspot
      {
         version
         {
				Visual SpearThrower_Flail
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.10 true   
				tag FootstepRight 0.35 true   
//-- end auto generated section
				connect leftforearm Shield hotspot
				connect Righthand Javelin Hotspot
				Connect TopOfHead Head hotspot
				ReplaceTexture Archer G Peltast Standard/Velite Armor
         }
      }
   }
}

//==============================================================================

anim Build
{
	SetSelector 
   {

		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry N Huskarl_BuildA
					ReplaceTexture infantry n huskarl standard/Velite Armor
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag SpecificSoundSet 0.67 false Build checkVisible 
//-- end auto generated section
					Connect TopOfHead Head hotspot
					connect RightHand hammer hotspot
					connect leftforearm Shield hotspot
					Connect FRONTABDOMEN heroglow hotspot
				}
			}
		}
	}
}